﻿namespace Reviewer.Web.UI
{
    /// <summary>
    /// Summary description for ImageUploader
    /// </summary>
    public interface IImageUploaderControl
    {
        /// <summary>
        /// Occurs when [image transformation complete].
        /// </summary>
        event ImageTransformationCompleteDelegate ImageTransformationComplete;

        /// <summary>
        /// Gets or sets the width of the max.
        /// </summary>
        /// <value>The width of the max.</value>
        int MaxWidth { get; set; }

        /// <summary>
        /// Gets or sets the height of the max.
        /// </summary>
        /// <value>The height of the max.</value>
        int MaxHeight { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether [exact size].
        /// </summary>
        /// <value><c>true</c> if [exact size]; otherwise, <c>false</c>.</value>
        bool ExactSize { get; set; }
    }
}